<?php


namespace app\model;


use app\model\common\CommonModel;

class categoryModel extends CommonModel
{
    protected $name = 'category';

    public function dictionary()
    {
        return $this->belongsTo(dictionaryModel::class, 'type_id');
    }
}